<!DOCTYPE html>
<html class="no-js">
<head lang="en">

    <#include "../head_import.html" />

</head>
<body>
<#include "../include/top_nav.html">
    <div class="am-cf admin-main">

        <!-- sidebar start -->
        <#include "../marketing/left.html">
            <!-- sidebar end -->
            <!-- content start-->
            <div class="admin-content">
                <div class="am-cf am-padding">
                    <div class="am-fl am-cf"><@s.m "global.position"/>:  礼品 兑换- 发货</div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <form class="ropt">
                            <input type="button" value="<@s.m "global.backToList"/>" onclick="history.back();"/>
                        </form>
                        <div class="clear"></div>
                    </div>
                </div>
                <div class="am-g">
                    <div class="am-u-sm-12 am-u-sm-centered">
                        <@p.form id="baseForm" action="o_update.do">
                        <@p.td colspan="2"><strong class="title">发货信息</strong></@p.td><@p.tr/>
                    <@p.td colspan="1" width="50" label="礼品名称">${giftExchange.gift.giftName}</@p.td>
                <@p.td colspan="1" width="50" label="会员名">${giftExchange.member.username!}</@p.td><@p.tr/>
                            <@p.td colspan="1" width="50" label="积分">${giftExchange.score!}</@p.td>
                        <@p.td colspan="1" width="50" label="数量">${giftExchange.amount!}</@p.td><@p.tr/>
                    <@p.td colspan="1" width="50" label="兑换时间">${giftExchange.createTime?string('yyyy-MM-dd HH:mm:ss')}</@p.td>
                <@p.td colspan="1" width="50" label="总积分">${giftExchange.totalScore!}</@p.td><@p.tr/>
                <@p.td colspan="2" width="50" label="收货地址">${giftExchange.detailaddress!}</@p.td><@p.tr/>
                <@p.td colspan="2" width="50" label="状态"><@s.m "exchange.status.${giftExchange.status}"/></@p.td><@p.tr/>
                <#if giftExchange.status=1>
                    <@p.text colspan="2" label="货运单号" name="waybill"  required="true" class="required" maxlength="100"/><@p.tr/>
                    <@p.td colspan="2"><@p.hidden name="id" value=giftExchange.id/><@p.submit code="global.submit"/> &nbsp; <@p.reset code="global.reset"/></@p.td>
                <#else>
                    <@p.td colspan="2" width="50" label="货运单号">${giftExchange.waybill!}</@p.td><@p.tr/>
                </#if>
                </@p.form>

</div>
    </div>



    </div>

    </div>

</body>
</html>